home *** CD-ROM | disk | FTP | other *** search
- package symantec.itools.db.jdbc;
-
- import java.util.Vector;
- import symantec.itools.db.net.ClientSession;
- import symantec.itools.db.net.RemoteObject;
- import symjava.sql.SQLException;
-
- class ProxyObject {
- private RemoteObject proxy;
- private ClientSession session;
-
- ProxyObject(String className, int id, ClientSession session) {
- this.proxy = new RemoteObject(className, id, session);
- this.session = session;
- }
-
- ClientSession getSession() {
- return this.session;
- }
-
- synchronized int invokeConstructor(int ctor_sel, Vector params) throws SQLException {
- return this.proxy.invokeConstructor(ctor_sel, params);
- }
-
- Vector invokeMethod(int mid) throws SQLException {
- return this.proxy.invokeMethod(mid);
- }
-
- Vector invokeMethod(int mid, int data) throws SQLException {
- return this.proxy.invokeMethod(mid, data);
- }
-
- Vector invokeMethod(int mid, String data) throws SQLException {
- return this.proxy.invokeMethod(mid, data);
- }
-
- Vector invokeMethod(int mid, boolean data) throws SQLException {
- return this.proxy.invokeMethod(mid, data);
- }
-
- synchronized Vector invokeMethod(int mid, Vector params) throws SQLException {
- return this.proxy.invokeMethod(mid, params);
- }
-
- synchronized void invokeDestructor(int oid) throws SQLException {
- this.proxy.invokeDestructor(oid);
- }
-
- synchronized void disable() {
- this.proxy.disable();
- }
- }
-